package com.pay.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author Peng
 * @since 2018-12-04
 */
@TableName("t_base_info")
public class BaseInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键 key->value形式的数据库
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * key值
	 */
	private String keyName;

	/**
	 * value值
	 */
	private String valueName;

	/**
	 * 备注
	 */
	private String mark;

	/**
	 * 创建时间
	 */
	private Date createtime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getKeyName() {
		return keyName;
	}

	public void setKeyName(String keyName) {
		this.keyName = keyName;
	}

	public String getValueName() {
		return valueName;
	}

	public void setValueName(String valueName) {
		this.valueName = valueName;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Override
	public String toString() {
		return "BaseInfo{" +
				"id=" + id +
				", key=" + keyName +
				", value=" + valueName +
				", mark=" + mark +
				", createtime=" + createtime +
				"}";
	}
}
